<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>工作人员存件 查询业务信息</title>
    <script type="text/javascript" src="static/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="static/js/staffStore.js"></script>
    <link rel="stylesheet" type="text/css" href="static/css/baseStyle.css">
</head>
<body>
<div class="businessContainer">
    <div class="container">
        <table class="listTable">
            <thead>
            <tr>
                <th></th>
                <th>业务编号</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td class="icon_td">
                    <img src="static/img/checkBox_Off.png" class="imgOn" id="chkId"/>
                    <!--                   <input type="checkbox" class="checkb" name="checkb" onclick="showCol()">-->
                </td>
                <td class="number_td" th:text="${businessNumber}">

                </td> <!--th:text="${businessNumber}-->
<!--                <td style="visibility: hidden" th:text="${businessType}"></td>-->
            </tr>
            </tbody>
        </table>
    </div>
    <div class="operation">
        <button type="button" class="op-btn" onclick="cun()">存 件</button>
        <button type="button" class="op-btn" onclick="home()">返回首页</button>
    </div>


</div>


</body>

<script type="text/javascript">
    $(document).ready(function () {
        $('#chkId').attr("src", "static/img/checkBox_On.png");
        $('#chkId').attr("class", "imgOn");
    })

    //存件
    function cun() {
        var num = $("#chkId").parent("td").parent("tr").children("td").eq(1).html();
        var type = $("#chkId").parent("td").parent("tr").children("td").eq(2).html();
        clientScript.staffStore(num, type);
    }

    //返回首页
    function home() {
        clientScript.home();
    }
</script>

</html>
